/**
 * Copyright:Copyright(c)2014-2017
 * Company:厦门市易致达物联网科技有限公司
 * @version 1.0
 */
package shop.controller.front.balance;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import shop.core.FrontBaseController;
import shop.core.Services;
import shop.core.common.bean.JSONResult;
import shop.core.common.dao.page.PagerModel;
import shop.services.front.balance.BalanceService;
import shop.services.front.balance.bean.Balance;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**   
 * @类名称：BalanceController
 * @创建人：Wzl
 * @创建时间：2018-01-03 下午16:30:00      
 * @版本号：1.0
 * @描述：     
 */
@Controller
@RequestMapping("/front/balance/")
public class BalanceController extends FrontBaseController<Balance> {
    @Resource
    private BalanceService balanceService;
    @Override
    public Services<Balance> getService() {
        return balanceService;
    }

    @Override
    public JSONResult deleteJson(HttpServletRequest request, Balance balance) throws Exception {
        return super.deleteJson(request, balance);
    }
}
